package com.ruoyi.app.W.service;

import com.ruoyi.app.W.domain.advice;
import com.ruoyi.app.zzq.domain.Partydues;
import com.ruoyi.project.system.domain.SysNotice;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author sa
 **/

public interface WService {
    List<SysNotice> notices(String noticeId);

    List<SysNotice> SelectCurrNotice(Integer userId);

    boolean SubmitAdvice(advice advice);
    /**
     * 查看所有层级(三层 社区-党支部-街道)  本社区--本街道--本党支部,通过键值对的形式反馈给前端
     */
    Map<String,String> showAdviceHierarchy(String userId);

    List<advice> SelectmyAdvice(String launchPartyId);

    List<advice> SelectAllAdvice();

    boolean UpdatemyAdvice(advice advice);

    boolean DeletemyAdvice(Integer adviceId);

    int SelectIfPays(Integer userId);

    List<SysNotice> SelectMyComNotice(String selectCommunityId);

    List<SysNotice> SelectCarousele(Integer userId);

    boolean MyPayTydue(Date payingTime, Integer userId);
}
